Skip to content

Add CI compatibility matrix (Ruby 3.2–4.0 × Rails 7.1–8.1) - #2

Merged
jacksonpires merged 2 commits into
mainfrom
ci/compatibility-matrix
Nov 13, 2026
Merged

jacksonpires merged 2 commits into
mainfrom
ci/compatibility-matrix

Conversation

@jacksonpires

Copy link
Copy Markdown
Owner

Summary

  • GitHub Actions workflow running the full suite on Ruby 3.2, 3.3, 3.4, 4.0 × Rails 7.1, 7.2, 8.0, 8.1 (gemfiles/rails_X.Y.gemfile, each pins rails and eval_gemfiles the root Gemfile).
  • Dummy app made loadable on older Rails: schema.rb pinned to ActiveRecord::Schema[7.1] (was [8.1], which Rails 7.1–8.0 reject) and load_defaults capped at [Rails version, 7.2].min (Rails 7.1 doesn't know 7.2). No change on Rails 8.1.
  • CI loads the test DB with db:schema:load: db:prepare also runs db/seeds.rb, and ~30 self-contained tests fail against seeded data.
  • README: CI badge + compatibility matrix + how to run a specific Rails locally. Also CHANGELOG, CLAUDE.md and the OKF bundle.

Test plan

  • Locally on Ruby 3.4.4, Rails 7.1 / 7.2 / 8.0 / 8.1: 252 runs, 0 failures, 0 errors each
  • CI matrix green (Ruby 3.2, 3.3, 4.0 covered only by CI)

🤖 Generated with Claude Code

jacksonpires and others added 2 commits November 13, 2026 14:26
Runs the suite on GitHub Actions with one Gemfile per Rails version
(gemfiles/rails_X.Y.gemfile, which eval the root Gemfile).

To make the dummy app load on every Rails in the matrix, schema.rb is
pinned to Schema[7.1] and load_defaults is capped at the running Rails
version. CI loads the test DB with db:schema:load, since db:prepare also
runs the seeds and the suite expects an empty database.

Documents the matrix in the README, CLAUDE.md and the OKF bundle.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@jacksonpires
jacksonpires merged commit e0fd00b into main Nov 13, 2026
16 checks passed
@jacksonpires
jacksonpires deleted the ci/compatibility-matrix branch November 13, 2026 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant